export default {
  enableDirtyChecking: true,
  showDataInfoBar: true,
  xdataControlName: 'form',
  loadDefault: true,
  openMode: 'POPUPMODAL',
  deviewCodeName: 'info_view',
  deviewId: '930c1fd7d51e5f2ded64b99d8c540560',
  accUserMode: 2,
  caption: '日志信息',
  codeName: 'extend_log_info_view',
  appDataEntityId: 'web.extend_log',
  appViewEngines: [
    {
      engineCat: 'VIEW',
      engineType: 'EditView',
      id: 'engine',
    },
  ],
  controls: [
    {
      xdataControlName: 'form',
      codeName: 'info_view_toolbar',
      controlType: 'TOOLBAR',
      logicName: '日志查看视图_工具栏',
      appDataEntityId: 'web.extend_log',
      controlParam: {
        id: 'toolbar',
      },
      modelId: '03234d7320009a2f3df7231072ee705b',
      modelType: 'PSDETOOLBAR',
      name: 'toolbar',
      id: 'info_view_toolbar',
    },
    {
      createControlAction: {
        appDEMethodId: 'create',
        appDataEntityId: 'web.extend_log',
        id: 'create',
      },
      getDraftFromControlAction: {
        appDataEntityId: 'web.extend_log',
        id: 'loaddraftfrom',
      },
      getDraftControlAction: {
        appDEMethodId: 'get_draft',
        appDataEntityId: 'web.extend_log',
        id: 'loaddraft',
      },
      getControlAction: {
        appDEMethodId: 'get',
        appDataEntityId: 'web.extend_log',
        id: 'load',
      },
      removeControlAction: {
        appDEMethodId: 'remove',
        appDataEntityId: 'web.extend_log',
        id: 'remove',
      },
      updateControlAction: {
        appDEMethodId: 'update',
        appDataEntityId: 'web.extend_log',
        id: 'update',
      },
      infoFormMode: true,
      deformPages: [
        {
          layout: {
            dir: 'column',
            layout: 'FLEX',
          },
          deformDetails: [
            {
              layout: {
                dir: 'column',
                layout: 'FLEX',
              },
              deformDetails: [
                {
                  layout: {
                    dir: 'row',
                    layout: 'FLEX',
                    valign: 'center',
                  },
                  deformDetails: [
                    {
                      dataType: 5,
                      enableCond: 3,
                      labelPos: 'LEFT',
                      labelWidth: 130,
                      noPrivDisplayMode: 1,
                      appDEFieldId: 'start_at',
                      editor: {
                        halign: 'LEFT',
                        valign: 'MIDDLE',
                        wrapMode: 'NOWRAP',
                        editorType: 'SPAN',
                        valueType: 'SIMPLE',
                        editable: true,
                        id: 'start_at',
                      },
                      valueFormat: 'YYYY-MM-DD HH:mm:ss',
                      allowEmpty: true,
                      caption: '起始时间',
                      codeName: 'start_at',
                      detailStyle: 'DEFAULT',
                      detailType: 'FORMITEM',
                      layoutPos: {
                        shrink: 1,
                        layout: 'FLEX',
                      },
                      showCaption: true,
                      id: 'start_at',
                    },
                    {
                      dataType: 25,
                      enableCond: 3,
                      ignoreInput: 3,
                      labelPos: 'NONE',
                      noPrivDisplayMode: 1,
                      appDEFieldId: 'state',
                      editor: {
                        halign: 'LEFT',
                        valign: 'MIDDLE',
                        wrapMode: 'NOWRAP',
                        appCodeListId: 'web.extension__log_state',
                        editorType: 'SPAN',
                        valueType: 'SIMPLE',
                        editable: true,
                        id: 'state',
                      },
                      allowEmpty: true,
                      convertToCodeItemText: true,
                      caption: '状态',
                      codeName: 'state',
                      detailStyle: 'DEFAULT',
                      detailType: 'FORMITEM',
                      layoutPos: {
                        shrink: 1,
                        layout: 'FLEX',
                      },
                      id: 'state',
                    },
                    {
                      dataType: 9,
                      enableCond: 3,
                      labelPos: 'LEFT',
                      labelWidth: 130,
                      noPrivDisplayMode: 1,
                      appDEFieldId: 'elapsed_time',
                      editor: {
                        halign: 'LEFT',
                        valign: 'MIDDLE',
                        wrapMode: 'NOWRAP',
                        editorType: 'SPAN',
                        valueType: 'SIMPLE',
                        editable: true,
                        id: 'elapsed_time',
                      },
                      allowEmpty: true,
                      caption: '持续时间',
                      codeName: 'elapsed_time',
                      detailStyle: 'DEFAULT',
                      detailType: 'FORMITEM',
                      layoutPos: {
                        shrink: 1,
                        layout: 'FLEX',
                      },
                      showCaption: true,
                      id: 'elapsed_time',
                    },
                  ],
                  codeName: 'grouppanel1',
                  detailStyle: 'DEFAULT',
                  detailType: 'GROUPPANEL',
                  layoutPos: {
                    grow: 1,
                    shrink: 1,
                    layout: 'FLEX',
                  },
                  id: 'grouppanel1',
                },
                {
                  dataType: 21,
                  enableCond: 3,
                  itemHeight: 500,
                  labelPos: 'NONE',
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'info',
                  editor: {
                    maxLength: 1048576,
                    showMaxLength: true,
                    editorHeight: 500,
                    editorParams: {
                      HEIGHT: '200',
                    },
                    editorType: 'TEXTAREA_10',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'info',
                  },
                  allowEmpty: true,
                  caption: '日志信息',
                  codeName: 'info',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    grow: 1,
                    shrink: 1,
                    layout: 'FLEX',
                  },
                  id: 'info',
                },
              ],
              caption: '扩展日志基本信息',
              codeName: 'group1',
              detailStyle: 'DEFAULT',
              detailType: 'GROUPPANEL',
              layoutPos: {
                grow: 1,
                shrink: 1,
                layout: 'FLEX',
              },
              id: 'group1',
            },
            {
              dataType: 25,
              enableCond: 3,
              labelPos: 'LEFT',
              labelWidth: 130,
              noPrivDisplayMode: 1,
              appDEFieldId: 'id',
              editor: {
                editorType: 'HIDDEN',
                valueType: 'SIMPLE',
                editable: true,
                id: 'id',
              },
              allowEmpty: true,
              hidden: true,
              capLanguageRes: {
                lanResTag: 'DEF.LNAME.ID',
              },
              caption: '标识',
              codeName: 'id',
              detailStyle: 'DEFAULT',
              detailType: 'FORMITEM',
              layoutPos: {
                shrink: 1,
                layout: 'FLEX',
              },
              id: 'id',
            },
          ],
          caption: '基本信息',
          codeName: 'formpage1',
          detailStyle: 'DEFAULT',
          detailType: 'FORMPAGE',
          id: 'formpage1',
        },
      ],
      layout: {
        columnCount: 24,
        layout: 'TABLE_24COL',
      },
      tabHeaderPos: 'TOP',
      noTabHeader: true,
      autoLoad: true,
      showBusyIndicator: true,
      codeName: 'info_view_form',
      controlType: 'FORM',
      logicName: '日志查看视图_表单',
      appDataEntityId: 'web.extend_log',
      controlParam: {
        id: 'form',
      },
      modelId: '824b28f7a90cbf1a4c68882d46311518',
      modelType: 'PSDEFORM_EDITFORM',
      name: 'form',
      id: 'web.extend_log.info_view_form',
    },
    {
      codeName: 'info_view_datainfobar',
      controlType: 'DATAINFOBAR',
      appDataEntityId: 'web.extend_log',
      controlParam: {
        id: 'datainfobar',
      },
      name: 'datainfobar',
      id: 'info_view_datainfobar',
    },
    {
      caption: '日志信息',
      codeName: 'info_view_captionbar',
      controlType: 'CAPTIONBAR',
      appDataEntityId: 'web.extend_log',
      controlParam: {},
      name: 'captionbar',
      id: 'info_view_captionbar',
    },
  ],
  viewLayoutPanel: {
    layoutBodyOnly: true,
    useDefaultLayout: true,
    layoutPanel: true,
    codeName: 'layoutpanel',
    controlStyle: 'APPDEEDITVIEW',
    controlType: 'VIEWLAYOUTPANEL',
    appDataEntityId: 'web.extend_log',
    controlParam: {},
    id: 'layoutpanel',
  },
  title: '日志信息',
  viewStyle: 'DEFAULT',
  viewType: 'DEEDITVIEW',
  enableDP: true,
  showCaptionBar: true,
  modelId: '9e44a368e59c9d5b04488fcc9183cf80',
  modelType: 'PSAPPDEVIEW',
  name: 'extend_loginfo_view',
  id: 'web.extend_log_info_view',
};
